Release 10.1A: OpenEdge Deployment:
Managing 4GL Applications


OUTPUT THROUGH statement

The OUTPUT THROUGH statement allows an application to redirect output to a process that OpenEdge starts. On UNIX, this statement allows you to pipe OpenEdge output to a UNIX process. Following is a partial syntax example of the OUTPUT THROUGH statement:

OUTPUT [ STREAM stream ] THROUGH 
  { program-name | VALUE ( expression ) }
  [ argument | VALUE ( expression ) ] ...
     .
     .
     . 

You can also use the OUTPUT THROUGH statement to access spooling capabilities on UNIX systems. For example, this command sends output to the printer named lw on a UNIX system:

OUTPUT THROUGH lpr -Plw. 

For a complete description of the OUTPUT THROUGH statement, see OpenEdge Development: Progress 4GL Reference .


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095